package com.yangyouli.unity_demo_server.server.serializeModel;

/**
 * 存储 position 和 rotation 三维向量，其中数组变量的长度都为 3
 * 
 * @author 24279
 *
 */
public class PlayerStatus {
	public String userId;
	public float[] position;
	public float rotationY;
	public float fpsRotationX;

	/*
	 * private boolean moving; private boolean rKey; private boolean leftMouse;
	 * private boolean leftMouseRun;
	 */

	public PlayerStatus() {
		super();
	}

	public float[] getPosition() {
		return position;
	}

	public void setPosition(float[] position) {
		this.position = position;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public float getRotationY() {
		return rotationY;
	}

	public void setRotationY(float rotationY) {
		this.rotationY = rotationY;
	}

	public float getFpsRotationX() {
		return fpsRotationX;
	}

	public void setFpsRotationX(float fpsRotationX) {
		this.fpsRotationX = fpsRotationX;
	}
}
